﻿using PropertyChanged;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DBOptionPro.Model
{
    /// <summary>
    /// 文件信息实体类
    /// </summary>
    [AddINotifyPropertyChangedInterface]
    public class DBFileInfo
    {
        [Display(Name = "文件完整路径")]
        public string FilePath { get; set; } = string.Empty;

        [Display(Name = "文件名")]
        public string FileName { get; set; } = string.Empty;

        [Display(Name = "文件扩展名")]
        public string FileExtension { get; set; } = string.Empty;

        [Display(Name = "地区")]
        public string AreaCode { get; set; } = null;

        [Display(Name = "上一次同步时间")]
        public DateTime? LastAsyncTime { get; set; } = null;

        [Display(Name = "状态")]
        public bool Selected { get; set; } = false;
    }
}
